<template>
  <!-- 左侧列表 -->
  <b-list-group class="an-left-nav-list">
    <b-list-group-item v-for="item in list" :key="item.id">
      <router-link :to="'/cont/?id='+ item.id">{{item.title}}</router-link>
    </b-list-group-item>
  </b-list-group>
</template>
<script>
import { domeDate } from "@/api/dateJson.js";
export default {
  data() {
    return {
      list: []
    };
  },
  mounted() {
    this.anLoad();
  },
  methods: {
    anLoad() {
      let nd = [];
      domeDate.forEach(element => {
        if (element.id != 1 && element.id != 2) {
          nd.push(element);
        }
      });
      this.list = nd;
    }
  }
};
</script>